<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- Use IE8 mode -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8 charset={$charset}" />
<meta http-equiv="Content-Type" content="text/html;charset={$charset}" />
<title>{$lang.ecmall_admin}</title>
<link href="templates/style/admin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{lib file=jquery.js}" charset="utf-8"></script>
<script type="text/javascript" src="{lib file=ecmall.js}" charset="utf-8"></script>

<script type="text/javascript" src="{res file=js/index.js}" charset="utf-8"></script>
</head>
<body>
   
    <div id="header">
            <div class="logo"><a href="index.php"><img src="templates/style/images/logo.gif" alt="ECMall" height="45" /></a></div>
            <div class="submenu">
                <ul>
                    <li>
                        <a href="index.php?act=logout">
                            <em class="iconfont">&#xe619;</em>
                            <span>{$lang.logout}</span>
                        </a>
                    </li>
                    <li>
                        <a href="{$site_url}/index.php" target="_blank">
                            <em class="iconfont">&#xe600;</em>
                            <span>{$lang.ecmall_index}</span>
                        </a>
                    </li>
                    <li>
                        <a target="main-frame" href="{url app=setting&act=base_setting}">
                            <em class="iconfont">&#xe604;</em>
                            <span>{$lang.base_setting}</span>
                        </a>
                    </li>
                    <li>
                        <a href="javascript:void(0)" id="iframe_refresh">
                            <em class="iconfont">&#xe60d;</em>
                            <span>{$lang.refresh}</span>
                        </a>
                    </li>
                    <li>
                        <a href="javascript:void(0)" id="clear_cache">
                            <em class="iconfont">&#xe609;</em>
                            <span>{$lang.clear_cache}</span>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
        <div id="menu-div">
            <ul>
                <li>
                    <a href="index.php">
                        <em class="iconfont">&#xe600;</em>
                        <span>{$lang.home_page}</span>
                    </a>
                    <span class="muneFG"></span>
                </li>
                <li>
                    <a href="{url app=goods}" target="main-frame">
                        <em class="iconfont">&#xe608;</em>
                        <span>{$lang.goods_manage}</span>
                        <span class="number">{$stat.goods_count|default:0}</span>
                    </a>
                    <span class="muneFG"></span>
                </li>
                <li>
                    <a href="{url app=store}" target="main-frame">
                        <em class="iconfont">&#xe60a;</em>
                        <span>{$lang.store_manage}</span>
                        <span class="number">{$stat.store_count|default:0}</span>
                    </a>
                    <span class="muneFG"></span>
                </li>
                <li>
                    <a href="{url app=user}" target="main-frame">
                        <em class="iconfont">&#xe606;</em>
                        <span>{$lang.user_manage}</span>
                        <span class="number">{$stat.member_count|default:0}</span>
                    </a>
                    <span class="muneFG"></span>
                </li>
                <li>
                    <a href="{url app=order}" target="main-frame">
                        <em class="iconfont">&#xe61e;</em>
                        <span>{$lang.order_manage}</span>
                        <span class="number">{$stat.order_count|default:0}</span>
                    </a>
                    <span class="muneFG"></span>
                </li>
                <li>
                    <a href="{url app=article}" target="main-frame">
                        <em class="iconfont">&#xe602;</em>
                        <span>{$lang.article}</span>
                        <span class="number">{$stat.article_count|default:0}</span>
                    </a>
                    <span class="muneFG"></span>
                </li>
            </ul>
        </div>


        <div id="frame-body">
            <iframe src="{url app=default&act=menu}" id="menu-frame" name="menu-frame" width="12%" frameborder="no" scrolling="yes" height="800px"></iframe>
            <iframe src="{url app=default&act=welcome}" id="main-frame" name="main-frame" frameborder="no" width="87%" scrolling="yes" height="800px"></iframe>
        </div>
    
</body>
</html>
